//
//  CourseVideoCollectionCell.m
//  TrainTree
//
//  Created by wanghui on 2017/9/5.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#import "CourseVideoCollectionCell.h"

@implementation CourseVideoCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)configWithModel:(LessonModel *)lessonModel
{
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",TrainTreeFileImgURL,lessonModel.lessonCover]] placeholderImage:ImageNamed(@"ty_pic")];
    self.describe.text = lessonModel.lessonName;
}
@end
